package com.changwu.cwbase.util;

import android.content.Context;
import android.graphics.drawable.Drawable;

import com.blankj.utilcode.util.Utils;

public class AppResourceUtil {
    private static Context context = Utils.getApp();

    public static int getColor(int id) {
        return context.getResources().getColor(id);
    }
    public static Drawable getDraw(int id) {
        return context.getResources().getDrawable(id);
    }
    public static String getString(int id) {
        return context.getResources().getString(id);
    }
}
